package com.yang.mapper;

import com.yang.bean.MarketAD;
import com.yang.bean.MarketADExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MarketADMapper {
    long countByExample(MarketADExample example);

    int deleteByExample(MarketADExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketAD record);

    int insertSelective(MarketAD record);

    List<MarketAD> selectByExample(MarketADExample example);

    MarketAD selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketAD record, @Param("example") MarketADExample example);

    int updateByExample(@Param("record") MarketAD record, @Param("example") MarketADExample example);

    int updateByPrimaryKeySelective(MarketAD record);

    int updateByPrimaryKey(MarketAD record);
}